from django import newforms as forms
from mysite.g_novel.models import Series, Issue
class SeriesForm(forms.Form):
	series_title=forms.CharField(label="Series Title")
	
class IssueForm(forms.Form):
	series=forms.ModelChoiceField(Series.objects.all())
	issue_title=forms.CharField(label="Issue Title")
	date=forms.DateField()
	
class PageForm(forms.Form):
	issue     = forms.ModelChoiceField(Issue.objects.all())
	pg        = forms.FileField(label="File")
	pg_number = forms.IntegerField(label="Page Number")
	date      = forms.DateField()